package com.zhangjian.test;

import java.util.Random;
import java.util.concurrent.Callable;

public class MyCall implements Callable<Integer> {
    @Override
    public Integer call() throws Exception {
        for (int i = 0; i < 1000; i++) {
                System.out.println("MyCall副线程执行："+i);
        }
        return new Random().nextInt(1000);
    }
}
